import Router from './router.js'
let router = new Router()

router.route('bule', _ => {
    document.body.style.backgroundColor = 'blue'
})

router.route('yellow', _ => {
    document.body.style.backgroundColor = 'yellow'
})

router.route('red', _ => {
    document.body.style.backgroundColor = 'red'
})